package com.xc.stock.domain.basic.entity;

import com.xc.stock.infrastructure.db.po.UserStaffPO;
import com.xc.stock.utils.Beans;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * AppVersionEntity
 *
 * @author xlfd
 * @email xlfd@gmail.com
 * @created 2021/10/25
 */
@Data
@NoArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = false)
public class UserStaff extends UserStaffPO {
	public <E extends UserStaffPO> void update(E cmd) {
		Beans.copyPropertiesIgnoreNull(cmd, this);
	}
}
